<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
	$(function(){
		$("#updateForm").submit(function(){
			alert("수정하기!");
		});
		
	});
</script>


<form method="post"action="${initParam.root }/board_newsupdate.do" id="updateForm">
<center>
<input type="text" name="no" value="${requestScope.bvo.no }"size="2" readonly="readonly" >
<input type="text" name="title" value="${requestScope.bvo.title }" size="5">
<input type="text" name="writer" value="${requestScope.bvo.memberVO.id }"  size="6" readonly="readonly" >
<input type="text" name="writedate" value="${requestScope.bvo.writedate }" readonly="readonly" >
<input type="text" name="count" value="${requestScope.bvo.count }" size="2" readonly="readonly" ><br>
<textarea rows="10" cols="53"  name="content">${requestScope.bvo.content }</textarea><br>
<input type="submit" id="update_btn" value="수정">
<input type="reset" id="reset_btn" value="취소">
</center>
</form>
